package com.xbongbong.paas.elasticsearch.pojo;

import com.xbongbong.paas.domain.entity.PaasFormDataEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.elasticsearch.annotations.ScriptedField;

/**
 * 自定义图表字段解析
 * @author zhouwq
 * @date 2019/4/22 9:30
 */

@ToString
@Setter
@Getter
public class ChartFieldsAnalysisEntityExt extends PaasFormDataEntity {

    private static final long serialVersionUID = -7786851575538661000L;

    /**
     * 工单状态
     */
    private String status;

    /**
     * 工单阶段
     */
    private String nowStageId;

    /**
     * 工单完成时间
     */
    private Long endTime;

    /**
     * 工单关闭时间
     */
    private Long closeTime;

    /**
     * 协同人
     */
    //private Long coUserId;

    /**
     * 计算字段1
     **/
    @ScriptedField
    private Object computedField_1;
    /**
     * 计算字段2
     **/
    @ScriptedField
    private Object computedField_2;
    /**
     * 计算字段3
     **/
    @ScriptedField
    private Object computedField_3;
    /**
     * 计算字段4
     **/
    @ScriptedField
    private Object computedField_4;
    /**
     * 计算字段5
     **/
    @ScriptedField
    private Object computedField_5;
    /**
     * 计算字段6
     **/
    @ScriptedField
    private Object computedField_6;
    /**
     * 计算字段7
     **/
    @ScriptedField
    private Object computedField_7;
    /**
     * 计算字段8
     **/
    @ScriptedField
    private Object computedField_8;
    /**
     * 计算字段9
     **/
    @ScriptedField
    private Object computedField_9;
    /**
     * 计算字段10
     **/
    @ScriptedField
    private Object computedField_10;



}
